Skip to content

docs: weekly changelog update - #294

Merged
yash-pouranik merged 3 commits into
mainfrom
changelog/week-of-27140037457
Jun 8, 2026
Merged

docs: weekly changelog update#294
yash-pouranik merged 3 commits into
mainfrom
changelog/week-of-27140037457

Conversation

@yash-pouranik

@yash-pouranik yash-pouranik commented Jun 8, 2026

Copy link
Copy Markdown
Member

Auto-generated weekly changelog entry. Please review before merging.

Summary by CodeRabbit

  • New Features & Improvements

    • Standardized API response/error handling
    • Improved Redis resilience and added 503 resilience tests
    • Enforced quota validation and usage accounting for bulk inserts
  • Bug Fixes & Security

    • Prevented authentication crashes and added usage checks on OTP/password reset
    • Blocked unsafe URIs and sanitized filenames for storage
    • Profile verification and prompt length/validation safeguards

Copilot AI review requested due to automatic review settings June 8, 2026 13:12
@yash-pouranik yash-pouranik added the documentation Improvements or additions to documentation label Jun 8, 2026
@mintlify

mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
urbackend 🟢 Ready View Preview Jun 8, 2026, 1:13 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@yash-pouranik, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 42 minutes and 39 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c5a51aa9-c25d-4502-9542-c09f84a4090a

📥 Commits

Reviewing files that changed from the base of the PR and between e7659d8 and a19ea1b.

📒 Files selected for processing (1)
  • mintlify/docs/changelog/june-2026.mdx
📝 Walkthrough

Walkthrough

Adds a single changelog entry for 2026-06-08 documenting API middleware standardization, Redis resilience testing, quota validation for bulk inserts, and multiple security/stability fixes; the existing 2026-06-01 section is left unchanged.

Changes

Changelog Documentation Update

Layer / File(s) Summary
June 8 weekly changelog entry
mintlify/docs/changelog/june-2026.mdx
Inserts a new Update block describing API middleware standardization, Redis 503 resilience tests, quota validation/usage accounting for bulk inserts, and several security and stability fixes (auth crash prevention, profile verification blocking, prompt max-length guard, AppError parsing, storage filename sanitization, extended isSafeUri checks, RLS owner dropdown display, and applying checkUsageLimits to OTP/password reset routes).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A changelog nibble, neat and small,
Notes fixes, tests, and guards for all,
Redis steadied, APIs aligned,
Quotas counted, edge cases signed,
June's little changelog hops down the hall.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'docs: weekly changelog update' directly corresponds to the changeset, which adds a new weekly changelog entry for the week of 2026-06-08.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch changelog/week-of-27140037457

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the auto-generated weekly changelog entry for the week of 2026-06-01–2026-06-08 to the Mintlify docs changelog, documenting recent improvements and bug fixes.

Changes:

  • Added a new <Update> section for 2026-06-08 with “Improvements” and “Bug fixes” entries.
  • Included changelog tags for the update to support categorization/filtering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mintlify/docs/changelog/june-2026.mdx Outdated
Comment thread mintlify/docs/changelog/june-2026.mdx Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (2)
mintlify/docs/changelog/june-2026.mdx (2)

9-10: ⚡ Quick win

Apply code formatting to technical terms.

Per coding guidelines, use code formatting for technical references. The following terms should be formatted as code:

  • Line 9: Package-Middleware (component name)
  • Line 10: 503 (HTTP status code), Redis (technology name)
📝 Proposed formatting improvements
-**Standardized API Response** — Standardized the API Response in Package-Middleware to handle errors consistently (`#270`)
-**Resilience Tests** — Added 503 resilience tests for Redis rejection paths to improve public API reliability (`#267`)
+**Standardized API Response** — Standardized the API Response in `Package-Middleware` to handle errors consistently (`#270`)
+**Resilience Tests** — Added `503` resilience tests for `Redis` rejection paths to improve public API reliability (`#267`)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@mintlify/docs/changelog/june-2026.mdx` around lines 9 - 10, The changelog
lines use plain text for technical terms; update the entries so technical
references are formatted as inline code: wrap the component name
Package-Middleware, the HTTP status code 503, and the technology name Redis in
code formatting (e.g., `Package-Middleware`, `503`, `Redis`) in the two lines
showing "Standardized API Response — Standardized the API Response in
Package-Middleware..." and "Resilience Tests — Added 503 resilience tests for
Redis rejection paths...".

Source: Coding guidelines


17-22: ⚡ Quick win

Apply code formatting and bold UI elements per guidelines.

Multiple technical terms and code references are missing proper formatting:

  • Line 17: queryBuilder (code reference), 2000 (numeric limit)
  • Line 18: AppError (class name)
  • Line 19: file.originalname (code property), storage path (technical term)
  • Line 20: isSafeUri (function name), RFC-1918 (standard reference)
  • Line 21: string (schema type); RLS owner dropdown should be bolded as a UI element
  • Line 22: authLimiter (middleware name), OTP (technical acronym)
📝 Proposed formatting improvements
-- Add 2000 character max-length guard on queryBuilder prompt to prevent excessive input (`#274`)
-- Update error parsing to handle standardized AppError responses (`#273`)
-- Sanitize file.originalname before use in storage path to prevent security vulnerabilities (`#275`)
-- Expand isSafeUri to block RFC-1918 and cloud metadata IP ranges to improve security (`#256`)
-- Show string schema fields in RLS owner dropdown to improve user experience (`#265`)
-- Apply authLimiter to OTP and password reset routes to prevent abuse (`#264`)
+- Add `2000` character max-length guard on `queryBuilder` prompt to prevent excessive input (`#274`)
+- Update error parsing to handle standardized `AppError` responses (`#273`)
+- Sanitize `file.originalname` before use in `storage path` to prevent security vulnerabilities (`#275`)
+- Expand `isSafeUri` to block `RFC-1918` and cloud metadata IP ranges to improve security (`#256`)
+- Show `string` schema fields in **RLS owner dropdown** to improve user experience (`#265`)
+- Apply `authLimiter` to `OTP` and password reset routes to prevent abuse (`#264`)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@mintlify/docs/changelog/june-2026.mdx` around lines 17 - 22, The changelog
entries use plain text for technical identifiers and a UI element; update lines
mentioning queryBuilder, 2000, AppError, file.originalname, storage path,
isSafeUri, RFC-1918, string, authLimiter, and OTP to follow the style guide by
wrapping code/technical identifiers and numeric limits in inline code formatting
(e.g., `queryBuilder`, `2000`, `AppError`, `file.originalname`, `isSafeUri`,
`RFC-1918`, `string`, `authLimiter`, `OTP`), bold the UI element "RLS owner
dropdown" to **RLS owner dropdown**, and ensure phrases like "storage path" are
formatted consistently as inline code or plain text per guidelines so the
entries are uniformly styled.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@mintlify/docs/changelog/june-2026.mdx`:
- Line 22: Update the changelog entry to reference the actual middleware used:
replace "authLimiter" with "checkUsageLimits" in the June 2026 changelog entry
so it reads "Apply checkUsageLimits to OTP and password reset routes to prevent
abuse (`#264`)"; reference the public auth routes (/resend-verification-otp,
/request-password-reset, /reset-password) and the middleware name
checkUsageLimits from apps/public-api/src/middlewares/usageGate.js to ensure
wording matches the implemented code (or alternatively document a separate
authLimiter if one exists elsewhere).

---

Nitpick comments:
In `@mintlify/docs/changelog/june-2026.mdx`:
- Around line 9-10: The changelog lines use plain text for technical terms;
update the entries so technical references are formatted as inline code: wrap
the component name Package-Middleware, the HTTP status code 503, and the
technology name Redis in code formatting (e.g., `Package-Middleware`, `503`,
`Redis`) in the two lines showing "Standardized API Response — Standardized the
API Response in Package-Middleware..." and "Resilience Tests — Added 503
resilience tests for Redis rejection paths...".
- Around line 17-22: The changelog entries use plain text for technical
identifiers and a UI element; update lines mentioning queryBuilder, 2000,
AppError, file.originalname, storage path, isSafeUri, RFC-1918, string,
authLimiter, and OTP to follow the style guide by wrapping code/technical
identifiers and numeric limits in inline code formatting (e.g., `queryBuilder`,
`2000`, `AppError`, `file.originalname`, `isSafeUri`, `RFC-1918`, `string`,
`authLimiter`, `OTP`), bold the UI element "RLS owner dropdown" to **RLS owner
dropdown**, and ensure phrases like "storage path" are formatted consistently as
inline code or plain text per guidelines so the entries are uniformly styled.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 32f8c7f7-87aa-45ee-8d20-21bd41417336

📥 Commits

Reviewing files that changed from the base of the PR and between 23c590b and f15fa6d.

📒 Files selected for processing (1)
  • mintlify/docs/changelog/june-2026.mdx

Comment thread mintlify/docs/changelog/june-2026.mdx Outdated
@mintlify

mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Now I'll apply the formatting fixes. For comment about authLimitercheckUsageLimits, the CodeRabbit comment suggests verifying. Since this is a changelog entry and I can't easily verify the actual code in this docs repo, I'll keep authLimiter but apply code formatting as per the nitpick (the actionable comment says "alternatively document a separate authLimiter if one exists"). I'll apply the safer minimal change—code formatting per the style guide.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@yash-pouranik
yash-pouranik temporarily deployed to changelog/week-of-27140037457 - urBackend-frankfrut PR #294 June 8, 2026 13:30 — with Render Destroyed
@yash-pouranik

Copy link
Copy Markdown
Member Author

@Nitin-kumar-yadav1307
Review and merge

@yash-pouranik
yash-pouranik merged commit b6e59ab into main Jun 8, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants